#if !defined(AFX_PAGE2_H__63B76D5A_4176_4B25_8B4F_98E535F91F7B__INCLUDED_)
#define AFX_PAGE2_H__63B76D5A_4176_4B25_8B4F_98E535F91F7B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Page2.h : header file
//
#pragma warning (disable : 4786)
#pragma warning (disable : 4503)

#include <vector>
#include <map>
#include <string>
#include <sstream>
#include <fstream>
#include <algorithm>

#include "InputDataDlg.h"




/////////////////////////////////////////////////////////////////////////////
// CPage2 dialog

class CPage2 : public CDialog
{
// Construction
public:
//	string m_strtemp;
	void DeleteRepeat();
	void ShowData();
	void Show();
	CPage2(CWnd* pParent = NULL);   // standard constructor
    long m_baund;
	HANDLE icdev;

	CInputDataDlg InputDlg;
// Dialog Data
	//{{AFX_DATA(CPage2)
	enum { IDD = IDD_DIALOG2 };
	CListCtrl	m_ctrldata;
	CListCtrl	m_CtrlUid;
	CStatic	m_Rwstatus;
	BOOL	m_Block00;
	BOOL	m_Block02;
	BOOL	m_Block15;
	CString	m_Data;
	CString	m_strUid;
	CString	m_strBlockData;
	int		m_iBlock;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPage2)
	public:
	virtual int DoModal();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL OnInitDialog();
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CPage2)
	afx_msg void OnRead();
	afx_msg void OnCopy();
	virtual void OnOK();
	afx_msg void OnClickUids(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnClickListData(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnLoad();
	afx_msg LRESULT OnMyMessage(); 
	afx_msg void OnDelete();
	afx_msg void OnButtonDeleteall();
	afx_msg void OnSave();
	afx_msg void OnButtonRefresh();
	afx_msg void OnBtnExport();
	afx_msg void OnBtnImport();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PAGE2_H__63B76D5A_4176_4B25_8B4F_98E535F91F7B__INCLUDED_)
